/**
 * Project Name:YCApiServer-dao
 * File Name:InspireMapper.java
 * Package Name:com.yc.music.mapper.dao
 * Date:2016年5月12日上午11:34:05
 * Copyright (c) 2016 
 *
 */
package com.yc.music.mapper.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yc.music.model.inspire.Inspire;

/**
 * 灵感记录 dao
 * ClassName: InspireMapper <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason: TODO ADD REASON(可选). <br/>
 * date: 2016年5月12日 上午11:34:05 <br/>
 *
 * @author panguixiang
 * @version 
 */
public interface InspireMapper {

	public List<Inspire> inSpireListByUid(@Param("uid") Long uid,
			@Param("start") int start, @Param("size") int size);
	
	public Inspire getInspireByid(@Param("id") Long id);
	
	public void save(@Param("spire") Inspire spire);
	
	public void deleteInspireByid(@Param("id") Long id);
	
	public Inspire getInspireFullByid(@Param("id") Long id);
	
	public void updateInsprie(@Param("spire") Inspire spire);
	
	public int getCountInspireByUid(@Param("uid") Long uid);
	
}
